package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("base_customer")
public class BaseCustomer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户主键
     */
    @TableId(value = "customer_Id", type = IdType.AUTO)
    private Long customerId;
    /**
     * 客户编号
     */
    @TableField("customer_Code")
    private String customerCode;
    /**
     * 客户姓名
     */
    private String name;
    /**
     * 客户姓名拼音
     */
    @TableField("name_Pinyin")
    private String namePinyin;
    /**
     * 客户电话
     */
    private String telephone;
    /**
     * 客户地址
     */
    private String address;
    /**
     * 客户公司
     */
    private String companyName;
    /**
     * 客户公司拼音
     */
    @TableField("companyName_Pinyin")
    private String companynamePinyin;
    /**
     * 所属网点
     */
    private Long site;
    /**
     * 结算模式
     */
    private Long settlement;
    /**
     * 创建人
     */
    @TableField("create_By")
    private Long createBy;
    /**
     * 创建时间
     */
    @TableField("create_Time")
    private Date createTime;
    /**
     * 创建网点
     */
    @TableField("create_Site")
    private String createSite;
    /**
     * 最后修改人
     */
    @TableField("modify_By")
    private Long modifyBy;
    /**
     * 最后修改时间
     */
    @TableField("modify_Time")
    private Date modifyTime;
    /**
     * 登记人
     */
    @TableField("register_By")
    private Long registerBy;
    /**
     * 登记时间
     */
    @TableField("register_Time")
    private Date registerTime;
    @TableField("rd_status")
    private Integer rdStatus;


    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNamePinyin() {
        return namePinyin;
    }

    public void setNamePinyin(String namePinyin) {
        this.namePinyin = namePinyin;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanynamePinyin() {
        return companynamePinyin;
    }

    public void setCompanynamePinyin(String companynamePinyin) {
        this.companynamePinyin = companynamePinyin;
    }

    public Long getSite() {
        return site;
    }

    public void setSite(Long site) {
        this.site = site;
    }

    public Long getSettlement() {
        return settlement;
    }

    public void setSettlement(Long settlement) {
        this.settlement = settlement;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateSite() {
        return createSite;
    }

    public void setCreateSite(String createSite) {
        this.createSite = createSite;
    }

    public Long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getRegisterBy() {
        return registerBy;
    }

    public void setRegisterBy(Long registerBy) {
        this.registerBy = registerBy;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    @Override
    public String toString() {
        return "BaseCustomer{" +
        ", customerId=" + customerId +
        ", customerCode=" + customerCode +
        ", name=" + name +
        ", namePinyin=" + namePinyin +
        ", telephone=" + telephone +
        ", address=" + address +
        ", companyName=" + companyName +
        ", companynamePinyin=" + companynamePinyin +
        ", site=" + site +
        ", settlement=" + settlement +
        ", createBy=" + createBy +
        ", createTime=" + createTime +
        ", createSite=" + createSite +
        ", modifyBy=" + modifyBy +
        ", modifyTime=" + modifyTime +
        ", registerBy=" + registerBy +
        ", registerTime=" + registerTime +
        ", rdStatus=" + rdStatus +
        "}";
    }
}
